package com.fangzc.codegen.entity.tables;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

/**
 * 表定义层。
 *
 * @author FANGZC-TB14
 * @since 2023-05-27
 */
public class TSysPost extends TableDef {

    public static final TSysPost sys_post = new TSysPost("sys_post");

    public QueryColumn post_id = new QueryColumn(this, "post_id");
    public QueryColumn post_code = new QueryColumn(this, "post_code");
    public QueryColumn post_name = new QueryColumn(this, "post_name");
    public QueryColumn post_sort = new QueryColumn(this, "post_sort");
    public QueryColumn status = new QueryColumn(this, "status");
    public QueryColumn create_by = new QueryColumn(this, "create_by");
    public QueryColumn create_time = new QueryColumn(this, "create_time");
    public QueryColumn update_by = new QueryColumn(this, "update_by");
    public QueryColumn update_time = new QueryColumn(this, "update_time");
    public QueryColumn remark = new QueryColumn(this, "remark");

    public QueryColumn[] default_columns = new QueryColumn[]{post_id, post_code, post_name, post_sort, status, create_by, create_time, update_by, update_time, remark};
    public QueryColumn[] all_columns = new QueryColumn[]{post_id, post_code, post_name, post_sort, status, create_by, create_time, update_by, update_time, remark};

    public TSysPost(String tableName) {
        super(tableName);
    }
}
